package com.pay.ioopos.support.serialport.custom;

/**
 * 反序列化输入指令：发起收款
 * @author moyq5
 * @since 2022/7/29
 * @see SerialPortPayCmd2Submit
 */
public class SerialPortPayCmd4SubmitDer extends CustomCmdDeserializerAbstract<SerialPortPayCmd4Submit> {

    @Override
    public SerialPortPayCmd4Submit deserialize(byte[] data) {
        SerialPortPayCmd4Submit result = super.deserialize(data);
        return SerialPortPayCmd4SubmitDerUtils.deserialize(result);
    }

    @Override
    protected Class<SerialPortPayCmd4Submit> resultClass() {
        return SerialPortPayCmd4Submit.class;
    }
}
